package com.elock.intf.service.impl;

import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.elock.base.core.Page;
import com.elock.base.core.Pageable;
import com.elock.base.core.service.impl.BaseServiceImpl;
import com.elock.entity.WarningMessageProcess;
import com.elock.intf.dao.IntfWarningMessageProcessDao;
import com.elock.intf.service.IntfWarningMessageProcessService;

/**
 * 终端设备用户关联
 * @author 仁德
 */
@Service("intfWarningMessageProcessServiceImpl")
public class IntfWarningMessageProcessServiceImpl
		extends BaseServiceImpl<WarningMessageProcess>
		implements IntfWarningMessageProcessService {

	@Resource(name = "intfWarningMessageProcessDao")
	private IntfWarningMessageProcessDao intfWarningMessageProcessDao;

	@Override
	@Transactional(readOnly = true)
	public Page<Map<String, Object>> findPage(Pageable pageable, Object[] args) {
		return intfWarningMessageProcessDao.findPage(pageable, args);
	}
}
